import anime from 'animejs';

export const aniText = (targets: string) => {
  anime({
    targets,
    opacity: [0, 1],
    translateY: [20, 0],
    duration: 500,
    easing: "linear",
    delay: (el, i) => 500 * (i + 1)
  })
}
